package cn.yiyuan;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

/**
 * @user m
 * @project system
 * @date 2023-10-27
 * @package cn.yiyuan
 */
@SpringBootApplication
//扫描mapper
@MapperScan("cn.yiyuan.*.mapper")
public class App implements WebMvcConfigurer {

    public static void main(String[] args){
        SpringApplication.run(App.class,args);
    }
}
